# from pymysql import connect

# conn = connect("localhost","root","@2916(Maify)","userbd")
# cursor = conn.cursor()
# sql = "select * from useradmin"
# read_row = cursor.execute(sql)

# login_information = cursor.fetchall()

# def panduan_login(name,password):
# 	for item in login_information:
# 		if  item[1] == name and item[2] == password:
# 			return "true"
			

# if __name__ == '__main__':
# 	panduan_login()

panduan_information = [
	{"zhanghao":"hongfen","mima":"123456"},
	{"zhanghao":"weihongfen","mima":"666666"},
	{"zhanghao":"fen","mima":"888"}
]

def panduan(zhanghao,mima):
	for item in panduan_information:
		if item["zhanghao"] == zhanghao and item["mima"] == mima:
			return "true"